<div class="modal-header">
    <h4 class="modal-title">{{sale_info.sale_name}}</h4>
</div>
<div class="modal-body clearfix">
    <div class="row col-xs-12 mt20">
        <div class="col-xs-3 text-right mt10">
            <p>身份证号</p>
        </div>
        <div class="col-xs-6">
            <input type="text" class="form-control" ng-model="order_info.cardno" ng-disabled="sale_category == 'F11' || sale_category == 'F15'">
        </div>
    </div>
    <div class="row col-xs-12 mt20">
        <div class="col-xs-3 text-right mt10">
            <p>游客姓名</p>
        </div>
        <div class="col-xs-6">
            <input type="text" class="form-control" ng-model="order_info.name" ng-disabled="sale_category == 'F11' || sale_category == 'F15'">
        </div>
    </div>
    <div class="row col-xs-12 mt20">
        <div class="col-xs-3 text-right mt10">
            <p>联系电话</p>
        </div>
        <div class="col-xs-6">
            <input type="text" class="form-control" ng-model="order_info.mobile" ng-disabled="sale_category == 'F11' || sale_category == 'F15'">
        </div>
    </div>
    <div class="row col-xs-12 mt20">
        <div class="col-xs-3 text-right mt10">
            <p>购票数量</p>
        </div>
        <div class="col-xs-3 input-group" style="padding-left: 15px; padding-right: 15px;">
            <span class="input-group-addon" ng-click="jian()">-</span>
            <input type="number" class="form-control" ng-model="order_info.num">
            <span class="input-group-addon" ng-click="jia()">+</span>
        </div>
    </div>
    <div class="row col-xs-12 mt20">
        <div class="col-xs-3 text-right mt10">
            <p>备注信息</p>
        </div>
        <div class="col-xs-6">
            <input type="text" class="form-control" ng-model="order_info.note">
        </div>
    </div>
    <div class="row col-xs-12 mt20">
        <div class="col-xs-3 text-right mt10">
            <p>出游时间</p>
        </div>
        <div class="col-xs-3 input-group" style="padding-left: 15px; padding-right: 15px;">
            <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="order_info.date.value" is-open="order_info.date.opened"
                readonly close-text="关闭" current-text="今天" clear-text="清除" />
            <span class="input-group-addon" ng-if="sale_info.price_type == '0'" ng-click="open($event, order_info.date)">
                <i class="glyphicon glyphicon-calendar"></i>
            </span>
            <span class="input-group-addon" ng-if="sale_info.price_type == '1'" ng-click="selectDate()">
                <i class="glyphicon glyphicon-calendar"></i>
            </span>
        </div>
    </div>
    <div class="row col-xs-12 mt5" ng-show="sale_info.tour_date_type == '1'">
        <div class="col-xs-3"></div>
        <div class="col-xs-6">
            <p class="form-control-static text-danger">
                出游时间必填，该票种只能在出游日期使用！！！！</p>
        </div>
        <div class="col-xs-3"></div>
    </div>
    <div class="row col-xs-12 mt20">
        <div class="col-xs-3 text-right mt10">
            <p>支付方式</p>
        </div>
        <div class="col-xs-6">
            <div class="radio">
                <label class="i-checks">
                    <input type="radio" name="-_-" ng-model="order_info.pay_method" value="credit">
                    <i></i>供应商预存支付(可用余额:{{supplier_balance | currency : '￥'}})
                </label><br/>
                <label class="i-checks" style="margin-top: 5px;" ng-if="sale_info.company_code != info.company_code">
                    <input type="radio" name="-_-" ng-model="order_info.pay_method" value="balance">
                    <i></i>平台余额支付(可用余额:{{platform_balance | currency : '￥'}})
                </label>
            </div>
        </div>
    </div>
    <!-- <div class="row col-xs-12">
        <div class="col-xs-3"></div>
        <div class="col-xs-6">
            <div class="input-group">
                <span class="input-group-addon">身份证号</span>
            </div>
            <div class="input-group mt20">
                <span class="input-group-addon">游客姓名</span>
                <input type="text" class="form-control" ng-model="order_info.name" ng-disabled="sale_category == 'F11' || sale_category == 'F15'">
            </div>
            <div class="input-group mt20">
                <span class="input-group-addon">联系电话</span>
                <input type="text" class="form-control" ng-model="order_info.mobile" ng-disabled="sale_category == 'F11' || sale_category == 'F15'">
            </div>
            <div class="input-group num mt20">
                <span class="input-group-addon">购票数量</span>
                <button type="button" class="btn btn-default jian " ng-click="jian()">-</button>
                <input type="text" class="kuang" ng-model="order_info.num">
                <button type="button" class="btn btn-default jia" ng-click="jia()">+</button>
            </div>
            <div class="input-group mt20">
                <span class="input-group-addon">备注信息</span>
                <input type="text" class="form-control" ng-model="order_info.note">
            </div>
            <div class="input-group mt20 col-xs-6">
                <span class="input-group-addon">出游时间</span>
                <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="order_info.date.value" is-open="order_info.date.opened"
                    readonly close-text="关闭" current-text="今天" clear-text="清除" />
                <span class="input-group-btn" ng-if="sale_info.price_type == '0'">
                    <button type="button" class="btn btn-default" ng-click="open($event, order_info.date)">
                        <i class="glyphicon glyphicon-calendar"></i>
                    </button>
                </span>
                <span class="input-group-btn" ng-if="sale_info.price_type == '1'">
                    <button type="button" class="btn btn-default" ng-click="selectDate()">
                        <i class="glyphicon glyphicon-calendar"></i>
                    </button>
                </span>
            </div>
            <div class="col-sm-12" ng-show="sale_info.tour_date_type == '1'" style="padding-left: 0px;">
                <p class="form-control-static text-danger">
                    出游时间必填，该票种只能在出游日期使用！！！！</p>
            </div>
            <div class="input-group mt20">
                <div class="radio">
                    <label class="i-checks ml20">
                        <input type="radio" name="-_-" ng-model="order_info.pay_method" value="account">
                        <i></i>平台预存支付
                    </label>
                    <label class="i-checks ml20" ng-if="sale_info.authorized_type == '0'">
                        <input type="radio" name="-_-" ng-model="order_info.pay_method" value="credit">
                        <i></i>供应商预存支付
                    </label>
                </div>
            </div>
        </div>
        <div class="col-xs-3"></div>
    </div> -->
</div>

<div class="modal-footer">
    <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="isCreateOrdering">确定</button>
    <button class="btn btn-danger" type="button" ng-click="close()" ng-disabled="isCreateOrdering">关闭</button>
</div>